package week9;

public class ElectricVehicle extends Vehicle implements IPower{
    public ElectricVehicle(String brand, String color)
    {
        super(brand, color);
    }
    public void power()
    {
        System.out.println("Electric Vehicle is powered by Electricity");
    }
    public void run()
    {
        System.out.println("Electric Vehicle is running");
    }
}
